package com.company;

public class Static {
    public static void main(String[] args){

      Person p=new Person();
      Person.a=10;
      System.out.println(Person.a);
      Person.name();
      Person p1=new Person();
      System.out.println(Person.a);
      Person.Eat();
    }
}
class Person{
    static int a;
    String b;
    char c;
    public static void name(){
        System.out.println("姓名是");

    }
    public static void Eat(){
        name();
        System.out.println("吃");
    }
}